package cn.pzhu.pserson.dto;

import cn.pzhu.pserson.util.BeanUtil;
import cn.pzhu.pserson.model.Userinfo;
import java.io.Serializable;


public class UserinfoDTO implements Serializable {
        
        private static final long serialVersionUID = 1L;
        
        private Integer count;
        
        private Integer ifshare;
        
        private Integer ifquan;
        
        private String attr1;
        
        private String attr2;
        
        private String attr3;
        
        private String attr4;
        
        private String attr5;
        
        private String attr6;
        
        public Integer getCount() {
            return this.count;
        }
        
        public void setCount(Integer count) {
            this.count = count;
        }
        
        public Integer getIfshare() {
            return this.ifshare;
        }
        
        public void setIfshare(Integer ifshare) {
            this.ifshare = ifshare;
        }
        
        public Integer getIfquan() {
            return this.ifquan;
        }
        
        public void setIfquan(Integer ifquan) {
            this.ifquan = ifquan;
        }
        
        public String getAttr1() {
            return this.attr1;
        }
        
        public void setAttr1(String attr1) {
            this.attr1 = attr1;
        }
        
        public String getAttr2() {
            return this.attr2;
        }
        
        public void setAttr2(String attr2) {
            this.attr2 = attr2;
        }
        
        public String getAttr3() {
            return this.attr3;
        }
        
        public void setAttr3(String attr3) {
            this.attr3 = attr3;
        }
        
        public String getAttr4() {
            return this.attr4;
        }
        
        public void setAttr4(String attr4) {
            this.attr4 = attr4;
        }
        
        public String getAttr5() {
            return this.attr5;
        }
        
        public void setAttr5(String attr5) {
            this.attr5 = attr5;
        }
        
        public String getAttr6() {
            return this.attr6;
        }
        
        public void setAttr6(String attr6) {
            this.attr6 = attr6;
        }
        
        public Userinfo toModel() {
            Userinfo model = new Userinfo();
			BeanUtil.convert(this, model);
			return model;
        }
    
}